<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>Thymeleaf 入门</title>
</head>
<body>

Request:应该用httpServletRequest.getAttribute()==============<br/>
<span th:text="${#httpServletRequest.getAttribute('req')}"></span><br/><br/>

session:应该用session============<br/>
<span th:text="${session.sess}"> </span> <br/><br/>

application:应该用application============<br/>
<span th:text="${application.app}"> </span><br/><br/>

</body>
</html>